#include<iostream>
using namespace std;
int fun(int n)
{
	double r=1;
	while(n)r*=n--;
	return r;
}
int main()
{
	int m,n;
	cin>>m>>n;
	cout<<fun(m)/fun(n)/fun(m-n)<<endl;
	return 0;
}
